49eedcb191886431a71827d7459cf9bdb21b5f41,core/kernel/smodelRuntime/source_gen/jetbrains/mps/lang/smodel/generator/smodelAdapter/SNodeOperations.java,SNodeOperations,getConceptDeclaration,#SNode#,623
Before Change
return role.equals(node.getRoleInParent());
}
public static SNode getConceptDeclaration(SNode node) {
return (node == null ? null : SModelUtil.findConceptDeclaration(node.getConcept().getQualifiedName()));
}
public static int getIndexInParent(SNode node) {
if (node == null || node.getParent() == null) {
After Change
return role.equals(node.getRoleInParent());
}
public static SNode getConceptDeclaration(SNode node) {
return (node == null ? null : node.getConcept().getDeclarationNode());
}
public static SConcept getConcept(SNode node) {
return (node == null ? null : node.getConcept());